import DataStore from "../base/DataStore.js";

class Score{
  constructor() {
    this.ctx = DataStore.getInstance().ctx
    this.scoreNumber = 0
    // 判断可以加分
    this.addScore = true
  }
  draw() {
    this.ctx.font = "25px Arial"
    this.ctx.fillStyle = "#FF6600"
    this.ctx.fillText(this.scoreNumber,window.innerWidth/2,40)
  }
}

export default Score